import 'package:flutter/material.dart';

class Layout extends StatefulWidget {
  @override
  LayoutState createState() {
    return new LayoutState();
  }
}

// 有状态控件 ，必须结合一个状态管理类,来是实现
class LayoutState extends State<Layout> {
  // 渲染当前这个控件的结构
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    var card = new Card(
      child: Column(
        children: <Widget>[
          ListTile(
            title: new Text(
              '河南省驻马店',
              style: TextStyle(fontWeight: FontWeight.w500),
            ),
            subtitle: new Text('田泽楠: 15991474961'),
          ),
          new Divider(),
          ListTile(
            title: new Text(
              '陕西服装工程学院',
              style: TextStyle(fontWeight: FontWeight.w500),
            ),
            subtitle: new Text('制药工程1701班'),
          ),
          new Divider(),
          ListTile(
            title: new Text(
              '大美女',
              style: TextStyle(fontWeight: FontWeight.w500),
            ),
            subtitle: new Text('爱了，爱了'),
          ),
          new Divider(),
        ],
      ),
    );

    return Scaffold(
      body: Center(child: card),
    );
  }
}
